package cn.exrick.xboot.modules.assessment.service;

import cn.exrick.xboot.base.XbootBaseService;
import cn.exrick.xboot.common.vo.SearchVo;
import cn.exrick.xboot.modules.assessment.entity.HkFormEntity;
import cn.exrick.xboot.modules.assessment.to.HkFormEntityTo;
import cn.exrick.xboot.modules.assessment.vo.HkFormEntityVo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 表单实体类接口
 * @author yck
 */
public interface HkFormEntityService extends XbootBaseService<HkFormEntity, String> {

    /**
     * 多条件分页获取
     * @param hkFormEntity
     * @param searchVo
     * @param pageable
     * @return
     */

    Page<HkFormEntity> findByCondition(HkFormEntity hkFormEntity, SearchVo searchVo, Pageable pageable);

    void updateFormEntity(HkFormEntityVo formEntityVo);


     HkFormEntity get(String s);

    List<HkFormEntity> findByFromName(String fromName);
}